package com.galaxy.service;

import com.galaxy.commom.base.constant.GalaxyConstants;
import com.galaxy.service.config.DruidConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * Spring boot 启动类
 *
 * @author caijinbang
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = GalaxyConstants.BASE_PACKAGE)
@Import({DruidConfig.class})
public class GalaxyLoanApplication {
    public static void main(String[] args) {
        SpringApplication.run(GalaxyLoanApplication.class, args);
    }
}
